<!DOCTYPE html>
<html lang="en">
<head>
    <#import "/spring.ftl" as spring>
    <base href="${request.contextPath}/"/>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title><@spring.message code="index.top"/></title>
    <script src="${request.contextPath}/js/jquery-1.11.1.min.js"></script>
    <script src="${request.contextPath}/js/common_click.js"></script>
    <script src="${request.contextPath}/js/echarts.min.js"></script>
    <link rel="stylesheet" href="${request.contextPath}/css/nybk.css">
    <link rel="stylesheet" href="${request.contextPath}/css/common.css">

</head>
<body>
<div class="top_all">
    <p class="top_title"><@spring.message code="index.top"/></p>
    <div class="top_user">
        <div class="user_user">
            <#if isAdmn == "TRUE">
            <div class="top_user_img">
                <img src="${request.contextPath}/images/timg.png" alt="">

            </div>

            <a href="javascript:;" onclick="shouye()">
                <p class="top_user_name"><@spring.message code="index.page"/></p>
            </a>
        </#if>
        </div>
    </div>
    <div class="top_out">
        <div class="out_out">
            <div class="top_out_img">
                <img src="${request.contextPath}/images/icon.png" alt="">
            </div>
            <a href="${request.contextPath}/sy/logout">
                <p class="top_out_name"><@spring.message code="index.out"/></p>
            </a>
        </div>
    </div>
</div>
<!--图表-->
<div class="content_all">
    <div class="content">
        <div class="content_left">
            <a href="${request.contextPath}/sy/nybk/nybk_liebiao.html?type=njtg" target="myFrameName">
                <div class="nybk_click">
                    <p class="nybk_click_text"><@spring.message code="nybk.njtg"/></p>
                    <p class="nybk_click_title"><@spring.message code="nybk.gong"/>${njtg?string}<@spring.message code="nybk.tiaoxx"/></p>
                    <div class="three"></div>
                </div>
            </a>
            <a href="${request.contextPath}/sy/nybk/nybk_liebiao.html?type=yfzs" target="myFrameName">
                <div class="nybk_click">
                    <p class="nybk_click_text"><@spring.message code="nybk.yfzs"/></p>
                    <p class="nybk_click_title"><@spring.message code="nybk.gong"/>${yfzs!0}<@spring.message code="nybk.tiaoxx"/></p>
                    <div class="three"></div>
                </div>
            </a>
            <a href="${request.contextPath}/sy/nybk/nybk_liebiao.html?type=zwbk" target="myFrameName">
                <div class="nybk_click">
                    <p class="nybk_click_text"><@spring.message code="nybk.zwbk"/></p>
                    <p class="nybk_click_title"><@spring.message code="nybk.gong"/>${zwbk!0}<@spring.message code="nybk.tiaoxx"/></p>
                    <div class="three"></div>
                </div>
            </a>
            <a href="${request.contextPath}/sy/nybk/nybk_liebiao.html?type=chfz" target="myFrameName">

                <div class="nybk_click">
                    <p class="nybk_click_text"><@spring.message code="nybk.chfz"/></p>
                    <p class="nybk_click_title"><@spring.message code="nybk.gong"/>${chfz!0}<@spring.message code="nybk.tiaoxx"/></p>
                    <div class="three"></div>
                </div>
            </a>
        </div>
        <div class="nybk_right">
            <iframe src="${request.contextPath}/sy/nybk/nybk_liebiao.html?type=njtg" name="myFrameName"
                    style="width: 100%;height: 100%"
                    frameborder="0"
                    scrolling="no" id="myiframe"></iframe>
        </div>
    </div>
</div>

<div class="footer_all"></div>

<script src="js/nybk.js"></script>
<script>
    function tiaozhuan(type, title, current) {
        $('iframe').attr('src', 'sy/nybk/nybk_liebiao.html?type=' + type + '&title=' + title + '&current=' + current);
    }
</script>
<script>
    $(function () {



        $(".button_click").eq(3).css({backgroundColor: "#43D3FF"})
        $(".button_click").eq(3).children("a").css({color: "#1921BB"})


    })
</script>
<script>

    var zlzs='<@spring.message code="menu.zlzs"/>';
    var zjwd='<@spring.message code="menu.zjwd"/>';
    var nybk='<@spring.message code="menu.nybk"/>';
    var nydsj='<@spring.message code="menu.nydsj"/>';


</script>
<script>
    function shouye(){
        var req = new XMLHttpRequest();
        req.open('GET', document.location, false);
        req.send(null);
        var headers = req.getAllResponseHeaders();
        var local=req.getResponseHeader('content-language');
        if(local=="en-US"){
            local="en_US";
        }else{
            local="zh_CN";
        }
        //alert(local+"-----"+"en_US");
        window.location.href="${request.contextPath}/sy/index/index?locale="+local;
    }
</script>
</body>
</html>




